package com.glaway.car.mapper;

import com.glaway.car.dto.RecordDTO;
import com.glaway.car.dto.UserDTO;
import com.glaway.car.entity.Record;
import com.glaway.car.vo.ReportVOTemp;
import com.glaway.car.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDate;
import java.util.List;

@Mapper
public interface RecordMapper {

    List<Record> queryRecord(RecordDTO recordDTO);

    List<UserVO> queryUserDesc(UserDTO userDTO);

    List<ReportVOTemp> queryCount(@Param("start")LocalDate start, @Param("end")LocalDate end);

}
